Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add azure_openai to models __init__.py #840

Merged
merged 2 commits into from
Apr 26, 2024
Merged

Add azure_openai to models __init__.py #840

merged 2 commits into from
Apr 26, 2024

Conversation

lassiraa
Copy link
Contributor

Currently, importing azure_openai as documented in https://outlines-dev.github.io/outlines/reference/models/openai/ does not work. Importing azure_openai as documented results in "AttributeError: module 'outlines.models' has no attribute 'azure_openai'"

Adding azure_openai to init.py fixes that behaviour. Currently, only way to import azure_openai is with from outlines.models.openai import azure_openai

@rlouf
Copy link
Member

rlouf commented Apr 26, 2024

Thank you for contributing!

@rlouf rlouf merged commit 078f822 into dottxt-ai:main Apr 26, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants